﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dept.aspx.cs" Inherits="FrameWork.web.Module.IntegralMS.UserSelect.Dept" %>

<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/css/subModal.css" />
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/common.js"></script>
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/subModal.js"></script>
    <script language="JavaScript">
        var curId = "DEPT_VIEW";
        function clickMenu(ID) {
            targetelement = document.getElementById(curId);

            if (ID == curId) {
                if (targetelement.style.display == "none")
                    targetelement.style.display = '';
                else
                    targetelement.style.display = "none";
            }
            else {
                targetelement.style.display = "none";
                targetelement = document.getElementById(ID);
                targetelement.style.display = "";
            }
            curId = ID;
        }
    </script>
</head>
<body class="panel" topmargin="1" leftmargin="0">
    <form id="Form1" method="post" runat="server">
    <table border="0" cellspacing="1" width="100%" style="font-size: 12px;" cellpadding="3"
        align="center">
        <tr class="TableHeader" onclick="clickMenu('DEPT_VIEW')" style="cursor: pointer;
            cursor: hand;" title="点击伸缩列表">
            <td nowrap align="center">
                <b>按部门选择</b>
            </td>
        </tr>
    </table>
    <table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" id="DEPT_VIEW">
        <tr>
            <td>
                <asp:TreeView ID="TreeView1" runat="server" EnableTheming="False" ShowLines="True"
                    ExpandDepth="0">
                    <NodeStyle CssClass="treeview" />
                </asp:TreeView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
